package com.xxl.job.kettle.core.mapper;

import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxl.job.kettle.core.entity.KScriptRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 实现功能：
 *
 * @author 作者[zk]
 * @version 1.0.00  2022-11-29 21:09
 */
@Mapper
public interface KScriptRecordMapper extends BaseMapper<KScriptRecord> {

    List<KScriptRecord> selectAllBySid(KScriptRecord kScriptRecord);

    List<KScriptRecord> selectErrorList(KScriptRecord kScriptRecord);

    List<Map> get7DayScriptRunstatusForMysql();

    JSON get7DayScriptRunstatusForOracle();
}
